package com.lkl.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lkl.demo.entity.Order;
import com.lkl.demo.entity.User;
import com.lkl.demo.vo.GoodsVo;

/**
 * @author likelong
 * @date 2022-07-26
 */
public interface IOrderService extends IService<Order> {

    /**
     * 秒杀
     *
     * @param user 用户信息
     * @param goods 商品信息
     */
    Order seckill(User user, GoodsVo goods);
}
